from django.urls import path,include
from .views import *
from rest_framework import  routers

router = routers.SimpleRouter()
router.register(r'assetstype',AssetsTypeViewSet,basename="assetstype")
router.register(r'location',LocationViewSet,basename="location")
router.register(r'assets',AssetsViewSet,basename="assets")

urlpatterns =  [
    path(r'api/',include(router.urls)),
]





